<?php
define('QUEUE_SCHEDULE', 'system_queue_adapter_mysql');
define('DEFAULT_PUBLISH_QUEUE', 'normal');
// define('QUEUE_CONSUMER', 'fork');

$bindings = array(
    'crontab:site_tasks_createsitemaps' => array(
        'queue_name' => 'slow'
    ),
    'crontab:ectools_tasks_statistic_day' => array(
        'queue_name' => 'slow'
    ),
    'crontab:ectools_tasks_statistic_hour' => array(
        'queue_name' => 'slow'
    ),
    'crontab:base_tasks_cleankvstore' => array(
        'queue_name' => 'slow'
    ),
    'crontab:operatorlog_tasks_cleanlogs' => array(
        'queue_name' => 'slow'
    ),
    'desktop_tasks_runimport' => array(
        'queue_name' => 'normal'
    ),
    'desktop_tasks_turntosdf' => array(
        'queue_name' => 'normal'
    ),
    'emailbus_tasks_sendemail' => array(
        'queue_name' => 'slow'
    ),
    'image_tasks_imagerebuild' => array(
        'queue_name' => 'normal'
    ),
    'recommended_tasks_update' => array(
        'queue_name' => 'slow'
    ),
    'importexport_tasks_runexport' => array(
        'queue_name' => 'slow'
    ),
    'importexport_tasks_runimport' => array(
        'queue_name' => 'slow'
    ),
    'aftersales_tasks_archive_returnProduct' => array(
        'queue_name' => 'slow'
    ),
    'other' => array(
        'queue_name' => 'other'
    )
);

$queues = array(
    'slow' => array(
        'title' => 'slow queue',
        'thread' => 3
    ),
    'quick' => array(
        'title' => 'quick queue',
        'thread' => 5
    ),
    'normal' => array(
        'title' => 'normal queue',
        'thread' => 3
    )
);
